package cn.fenglaicaimi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class StoreController {

    @RequestMapping("store")
    public String storePage(Model model){
        model.addAttribute("username","你好");
        return "index";
    }

    @RequestMapping("main")
    public String mainPage(){
        return "main";
    }

}
